import request from '@/utils/request'
export function getDepartmentCmpEmps(params) {
  return request({
    url: '/api/Organiztion/DepartmentCmpEmpManage/GetDepartmentCmpEmps',
    method: 'get',
    params
  })
}
export function getCompanies(params) {
  return request({
    url: '/api/Organiztion/DepartmentCmpEmpManage/GetCompanies',
    method: 'get',
    params
  })
}
export function getCmpEmployees(params) {
  return request({
    url: '/api/Organiztion/DepartmentCmpEmpManage/GetCmpEmployees',
    method: 'get',
    params
  })
}
export function addDepartmentCmpEmp(data) {
  return request({
    url: '/api/Organiztion/DepartmentCmpEmpManage/AddDepartmentCmpEmp',
    method: 'post',
    data
  })
}
export function deleteByCompanyID(params) {
  return request({
    url: '/api/Organiztion/DepartmentCmpEmpManage/DeleteByCompanyID',
    method: 'get',
    params
  })
}
export function deleteByEmployeeID(params) {
  return request({
    url: '/api/Organiztion/DepartmentCmpEmpManage/DeleteByEmployeeID',
    method: 'get',
    params
  })
}

export function getDepartmentCompanies(params) {
  return request({
    url: '/api/Organiztion/DepartmentCmpEmpManage/GetDepartmentCompanies',
    method: 'get',
    params
  })
}
export function getDepartmentAllCompanies(params) {
  return request({
    url: '/api/Organiztion/DepartmentCmpEmpManage/GetDepartmentAllCompanies',
    method: 'get',
    params
  })
}

export function getDepartmentCmpEmployees(params) {
  return request({
    url: '/api/Organiztion/DepartmentCmpEmpManage/GetDepartmentCmpEmployees',
    method: 'get',
    params
  })
}
export function getMyCmpEmps(params) {
  return request({
    url: '/api/Organiztion/DepartmentCmpEmpManage/GetMyCmpEmps',
    method: 'get',
    params,
  })
}
